package com.manager.cms.controller;

import com.manager.cms.annotation.IgnoreAuth;
import com.manager.cms.annotation.IgnoreLogin;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 */
@Slf4j
@RestController
@RequestMapping("/test")
public class TestController {
// http://localhost:9001/test/a

    @IgnoreAuth
    @IgnoreLogin
    @GetMapping("/a")
    public Object test(){

        System.out.println("testcontroller");
        return "testcontroller";
    }
}
